package com.xyht.sca_s.student_manage_system.modules.patrol.entity.vo;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author XYHT
 * @since 2023-04-09
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("sms_patrol")
@ApiModel(value="SmsPatrol对象", description="")
public class SmsPatrolVO implements Serializable {

    private static final long serialVersionUID = 1L;

    private String id;

    private String user_id;

    @ApiModelProperty(value = "二维码使用时间")
    private Date qrUseTime;

    @ApiModelProperty(value = "巡查图片")
    private String patrolPic;

    @ApiModelProperty(value = "巡查楼栋")
    private String patrolBuildings;

    @ApiModelProperty(value = "巡查点名称")
    private String nameOfInspectionPoint;

    @ApiModelProperty(value = "巡查日期")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private String patrolDate;

    @ApiModelProperty(value = "真实姓名")
    private String realName;

    @ApiModelProperty(value = "班次")
    private String patrolClasses;

    @ApiModelProperty(value = "备注")
    private String patrolPostscript;

    @ApiModelProperty(value = "巡查人")
    private String patrolUserId;
    //@JsonFormat(pattern = "HH:mm",timezone = "GMT+8")
    @ApiModelProperty(value = "巡查时间")
    private String patrolTime;

    @ApiModelProperty(value = "巡查情况")
    private Integer patrolSituation;
    @ApiModelProperty(value = "二维码id")
    private String qrId;
}
